#bin/bash
if [[ $EUID -ne 0 ]]; then
   echo "This script must be run as root" 
   exit 1
fi

cp mimeapps.list /etc/xdg/mimeapps.list


pacman --noconfirm -Syu 
pacman --noconfirm -S base-devel river ly foot ttf-font-awesome lxqt-archiver fuzzel wget falkon git gvfs gvfs-mtp unrar unzip nano htop xorg-server xorg-xinit libx11 libxinerama libxft webkit2gtk qt5ct pcmanfm-qt iwd mpv kvantum papirus-icon-theme vim xorg-xwayland qt5-wayland qt6-wayland ffmpeg imv featherpad zathura zathura-pdf-poppler nnn vim wlsunset

#mv org.pwmt.zathura.desktop /usr/share/applications/org.pwmt.zathura.desktop

mv /tmp/install/wifi.sh /usr/local/bin

systemctl enable ly
usermod -aG video drago
cd ~/
chmod +x .config/river/init